package com.zc.wxPay.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;
import java.util.Map;

/**
 * @Author:gaojikun
 * @Description: 微信支付实体类
 */
public class WxPay extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /*openid*/
    private String openid;

    /*支付金额*/
    /*10 == 0.1元*/
    private String money;

    /*商品名字*/
    private String title;

    /*终端IP*/
    private String ip;

    /*返回码*/
    private Integer status;

    /*返回状态*/
    private String msg;

    /*返回数据*/
    private Map<String, String> data;

    /*场站ID*/
    private String chargeStationCode;

    /*设备ID*/
    private String deviceId;

    /*设备名称*/
    private String deviceName;

    /*运营商ID*/
    private String operatorCode;

    /*商户订单号*/
    private String outTradeNo;

    /*开始时间*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /*结束时间*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /*累计用电量*/
    private String totalPower;

    /*总电费*/
    private String totalElecMoney;

    /*总服务费*/
    private String totalSeviceMoney;

    /*设备端口编号*/
    private Long portId;

    /*设备端口*/
    private String portName;

    /*充电时长*/
    private String timeId;


    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getMoney() {
        return money;
    }

    public void setMoney(String money) {
        this.money = money;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Map<String, String> getData() {
        return data;
    }

    public void setData(Map<String, String> data) {
        this.data = data;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getChargeStationCode() {
        return chargeStationCode;
    }

    public void setChargeStationCode(String chargeStationCode) {
        this.chargeStationCode = chargeStationCode;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getOperatorCode() {
        return operatorCode;
    }

    public void setOperatorCode(String operatorCode) {
        this.operatorCode = operatorCode;
    }

    public String getOutTradeNo() {
        return outTradeNo;
    }

    public void setOutTradeNo(String outTradeNo) {
        this.outTradeNo = outTradeNo;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getTotalPower() {
        return totalPower;
    }

    public void setTotalPower(String totalPower) {
        this.totalPower = totalPower;
    }

    public String getTotalElecMoney() {
        return totalElecMoney;
    }

    public void setTotalElecMoney(String totalElecMoney) {
        this.totalElecMoney = totalElecMoney;
    }

    public String getTotalSeviceMoney() {
        return totalSeviceMoney;
    }

    public void setTotalSeviceMoney(String totalSeviceMoney) {
        this.totalSeviceMoney = totalSeviceMoney;
    }

    public Long getPortId() {
        return portId;
    }

    public void setPortId(Long portId) {
        this.portId = portId;
    }

    public String getPortName() {
        return portName;
    }

    public void setPortName(String portName) {
        this.portName = portName;
    }

    public String getTimeId() {
        return timeId;
    }

    public void setTimeId(String timeId) {
        this.timeId = timeId;
    }
}
